<!DOCTYPE html>
<html lang="en">
<head>
<{include file="public_html/header_tag.html"}>
	<title>资讯</title>

</head>
<body>
<div class="wrap">
	<!--star header-->
	<div class="header">
	<{include file="public_html/header_menu.html"}>
	</div>
	<!--end  header-->

	<div class="return_nav">
		<div class="w1200">
		您的位置：<a href="/">首页</a><span>&gt;</span><em>资讯</em>
		</div>
	</div>
	<!--star main-->
	<div class="wrap_main fix">
		<!--content star-->
		<div class="col_main">
			<!--star-->
			<div class="box_item">
				<!--star left-->
				<div class="zx_left l">
					
					<div class="zixun-index-list">
						<!--star税务管理区-->
						<{foreach from=$news_list item=item key=key}>
						<div class="fix item m-b20">
							<!--star 栏目-->
							<div class="zx_column LH40 tac" style="background:<{$bgcolor.$key}>;">
								<dl>
									<dt class="fs20"><p class="curr"><a class="swich" href="/news/nlist/<{$item.id}>" cate_id="<{$item.id}>"><{$item.title}></a></p></dt>
									<dd class="fs16">
										<{if isset($item.sub)}>
										<{foreach from=$item.sub item=sub}>
										<p><a class="swich" href="/news/nlist/<{$sub.id}>" cate_id="<{$sub.id}>"><{$sub.title}></a></p>
										<!-- <p class="curr"> -->
										<{/foreach}>
										<{/if}>
									</dd>
								</dl>
							</div>
							<!--end 栏目-->
							<!--star 内容-->
							<{if isset($item.news)}>
							<div class="zx_content LH20" id="news_<{$item.id}>">
								<ul class="fs12">
									<{foreach from=$item.news item=news key=key}>
									<li <{if $key == 0}>class="curr"<{/if}>>
										<div><a href="/ask/?/article/<{$news.id}>"><{$news.title}></a><span><{$news['add_time']|date_format:'%Y-%m-%d'}></span></div>
										<p><{$news.message}></p>
									</li>
									<{/foreach}>
								</ul>
							</div>
							<{/if}>
							<{if isset($item.sub)}>
							<{foreach from=$item.sub item=sub}>
							<div class="zx_content LH20" style="display:none;" id="news_<{$sub.id}>">
								<ul class="fs12">
									<{foreach from=$sub.news item=news key=key}>
									<li <{if $key == 0}>class="curr"<{/if}>>
										<div><a href="/ask/?/article/<{$news.id}>"><{$news.title}></a><span><{$news['add_time']|date_format:'%Y-%m-%d'}></span></div>
										<p><{$news.message}></p>
									</li>
									<{/foreach}>
								</ul>
							</div>
							<{/foreach}>
							<{/if}>
							<!--end 内容-->
						</div>
						<{/foreach}>
						<!--end税务管理区-->
					</div>
					<script type="text/javascript">
					$(function(){
						var zxVal = '.zx_content';
						var curr  = 'curr';
						$(zxVal).each(function(){
							$(this).find('li').mouseenter(function(){
								$(this).addClass(curr).siblings().removeClass(curr);
							});
						});
					});
					</script>
				</div>
				<!--end left-->
				<!--star right-->
				<div class="zx_right r">
					<!--star热门资讯-->
					<div class="mtcBox m-b30">
						<div class="mt"><span class="fs16">最新资讯</span></div>
						<div class="mc fix p-tb20">
						<ul class="fs12 zx_list p-r10">
						<{foreach from=$new_list item=item key=key}>
							<li class="<{if $key == 0}>first<{else if $key == 1}>second<{else if $key == 2}>third<{/if}>">
								<a href="/ask/?/article/<{$item.id}>"><i><{$key+1}></i><{$item.title}></a>
							</li>
						<{/foreach}>
						</ul>
						</div>
					</div>
					<!--end热门资讯-->
					<!--star热门问答-->
					<div class="mtcBox m-b30">
						<div class="mt"><span class="fs16">最新问答</span></div>
						<div class="mc fix p-tb20">
						<ul class="fs12 zx_list p-r10">
						<{foreach from=$question_list item=item key=key}>
							<li class="<{if $key == 0}>first<{else if $key == 1}>second<{else if $key == 2}>third<{/if}>">
								<a class="fs14" href="/ask/?/question/<{$item.question_id}>"><i><{$key+1}></i><{$item.question_content}></a>
								<!-- <p><{$item.question_detail}>...</p> -->
							</li>
						<{/foreach}>
						</ul>
						</div>
					</div>
					<!--end热门问答-->
				</div>
				<!--end right-->
			</div>
			<!--end-->
			<div class="fix" style="height:90px;"></div>
		</div>
		<!--content end-->
	</div>
	<!--end 做题模式-->
	<!--star  footer-->
	<div class="footer">
	  <{include file="public_html/footer.html"}>
	</div>
	<!--end  footer-->
</div>
<<script>
	$(function(){
		$(".swich").hover(function(){
			var cate_id = $(this).attr("cate_id");
			$(this).closest("div").siblings().hide();
			$("#news_"+cate_id).show();
		})
	})
</script>
</body>
</html>
